package com.ctcemti.mdm.project.sys.service;

import com.ctcemti.mdm.common.result.Result;
import com.ctcemti.mdm.project.sys.entity.InfDisciplines;

import java.util.List;

/**
 * @ClassName InfDisciplinesMapper
 * @Description 专业领域逻辑层接口层
 * @Author bxf
 * @Date 11:20 2019/7/12
 * @Version V1.0
 **/

public interface InfDisciplinesService{

    /**
     * @Author pzw
     * @Description 获取所有领域
     * @Date 11:39 2019/7/18
     * @Param
     * @return
     **/
    List<InfDisciplines> selectAllMenu(InfDisciplines infDisciplines);

    /**
     * @Author pzw
     * @Description 新增
     * @Date 11:39 2019/7/18
     * @Param
     * @return
     **/
    int insertInfDisciplines(InfDisciplines infDisciplines);

    /**
     * @Author pzw
     * @Description 根据id查询数据
     * @Date 11:39 2019/7/18
     * @Param
     * @return
     **/
    InfDisciplines queryInfDisciplinesByID(InfDisciplines infDisciplines);

    /**
     * @Author pzw
     * @Description 修改
     * @Date 11:39 2019/7/18
     * @Param
     * @return
     **/
    int updateInfDisciplines(InfDisciplines infDisciplines);

    /**
     * @Author pzw
     * @Description 删除
     * @Date 11:39 2019/7/18
     * @Param
     * @return
     **/
    Result<InfDisciplines> deleteInfDisciplines(Integer[] ids, Integer type);

    /**
     * @Author pzw
     * @Description 二级树节点查询
     * @Date 11:39 2019/7/18
     * @Param
     * @return
     **/
    List<InfDisciplines> selectAllInfDisciplinesByTree(InfDisciplines infDisciplines);

    /**
     * 根据条件查询列表
     * @param infDisciplines
     * @return
     */
    List<InfDisciplines> queryInfDisciplinesList(InfDisciplines infDisciplines);
}